var Student = require('./student').Student;

function studentTest() {
    var student = new Student('Tom', 21, 2);
    var expectResult = 'My name is Tom. I am 21 years old. I am a Student. I am at Class 2.';
    if (student.introduce() === expectResult) {
        console.log('test passed');
    } else {
        console.log('test failed');
    }
}

studentTest();